/*
 *
 */

package global;

/**
 *
 * @author SHIVANI
 */
public class QueryType
{
      public static final int None       = 0;
      public static final int FileScan   = 1;
      public static final int ColumnScan = 2;
      public static final int BitMap     = 3;
      public static final int BTree      = 4;
      public int queryType;

      public QueryType (int _queryType) {
        queryType = _queryType;
      }

      public String getQueryName()
      {
         switch (queryType) {
            case None:
              return "None";
            case BTree:
              return "BTree";
            case FileScan:
              return "FileScan";
            case BitMap:
                return "BitMap";
             case ColumnScan:
                 return "ColumnScan";
         }
         return ("Unexpected QueryType " + queryType);
      }
}
